package com.example.shiroplusdemo.repository;

import com.example.shiroplusdemo.entity.RolePermission;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-01-07
 **/
public interface RolePermissionRepository extends JpaRepository<RolePermission,Integer> {

    List<RolePermission> findByRid(Integer rid);

}
